package com.app.common.dataDictionary.DE;

import com.css.sword.kernel.base.exception.*;
import com.css.sword.kernel.base.annotation.*;
import com.css.sword.kernel.base.dataElement.*;


/**
 * 二维码类型
 */
@DataElement()
public final class DE_QRCODETYPE extends CharDE {

		//private static final long serialVersionUID = 7045835821623060256L;
		private static final long serialVersionUID = 1L;
		
		private static final DE_QRCODETYPE defaultInstance = new DE_QRCODETYPE();
		
		/**
		 * 二维码类型
		 */
		public static final String Data_Element_Name = "QRCODETYPE";
		
		public DE_QRCODETYPE() {
			super();
		}
		
		/**
		 * 返回模板对象
		 */
		public static DE_QRCODETYPE getTemplateInstance() {
			return defaultInstance;
		}
		
		@Override
		public DE_QRCODETYPE clone() throws CloneNotSupportedException {
			DE_QRCODETYPE v = null;
			try {
				v = new DE_QRCODETYPE(value);
			} catch (SwordBaseCheckedException ex) {
				throw new CloneNotSupportedException(ex.getMessage());
			}
			return v;
		}

		@Override
		protected void checkValueRange() throws SwordBaseCheckedException {
	 
		}

		@Override
		public String getDeName() {
			return Data_Element_Name;
		}

		@Override
		public String getMemo() {
			return "二维码类型";
		}


	public DE_QRCODETYPE(String value) throws SwordBaseCheckedException {
		super(value);
	}

	@Override
	public DE_QRCODETYPE newInstance(String value) throws SwordBaseCheckedException {
		return new DE_QRCODETYPE(value);
	}
	
}
